package com.yvon.maple.service.system.service;

import com.yvon.boot.mybatis.IBaseService;
import com.yvon.maple.service.system.entity.Role;

import java.util.List;

/**
 * @author : Yvon
 * @version : 1.0
 * @since : 2021/3/15
 */
public interface RoleService extends IBaseService<Role> {
    boolean save(Role role, List<Long> permissionIds);


    boolean update(Role role, List<Long> permissionIds);

    Role getByCode(String code);
}
